<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<script type="text/javascript" src="<%=request.getContextPath() %>/js/jquery-1.8.2.min.js"></script>
    <link href="<%=request.getContextPath() %>/css/bootstrap.min.css" rel="stylesheet">
    <script src="<%=request.getContextPath() %>/js/bootstrap.min.js"></script>
<script type="text/javascript">
$(function (){
	$(".0").addClass("active");
	$(".1").addClass("success");
	$(".2").addClass("warning");
	$(".3").addClass("danger");
	$(".4").addClass("info");
})
</script>
<style type="text/css">
	body {
	font-size: 12px;
	background-image: url(images/bg.gif);
	background-repeat: repeat;
}

</style>

</head>
<body>
	<table class="table table-responsive table-bordered table-hover">
		<thead>
		<tr class="warning">
			<th>老师姓名</th>
			<th>老师类型</th>
			<th>老师备注</th>
			<th><a href="<%=request.getContextPath()%>/addTeacher">添加</a></th>
		</tr>
		</thead>
		<tbody>
			<c:forEach items="${tList }" var="c" varStatus="co">
				<tr class="${co.index }">
					<td>${c.name }</td>
					<td>${c.type }</td>
					<td>${c.remarks }</td>
				</tr>
			</c:forEach>
		</tbody>
	</table>
</body>
</html>